import request from '@/utils/request'

export function listForShichangPrint(params) {
  return request({
    url: '/chengji/Kaoshi_kaosheng/listForShichangPrint',
    method: 'get',
    params: params
  })
}

export function listForBanjiPrint(params) {
  return request({
    url: '/chengji/Kaoshi_kaosheng/listForBanjiPrint',
    method: 'get',
    params: params
  })
}

export function makeZuowei(params) {
  return request({
    url: '/chengji/Kaoshi_kaosheng/makeZuowei',
    method: 'post',
    params: params
  })
}

export function randKaohao(params) {
  return request({
    url: '/chengji/Kaoshi_kaosheng/randKaohao',
    method: 'post',
    params: params
  })
}

export function getUngraduatedBanjis(params) {
  return request({
    url: '/chengji/Kaoshi_kaosheng/getUngraduatedBanjis',
    method: 'get',
    params: params
  })
}

export function batchAddStudent(data) {
  return request({
    url: '/chengji/Kaoshi_kaosheng/batchAddStudent',
    method: 'post',
    data
  })
}

export function list(params) {
  return request({
    url: '/chengji/Kaoshi_kaosheng/list',
    method: 'get',
    params: params
  })
}

export function info(params) {
  return request({
    url: '/chengji/Kaoshi_kaosheng/info',
    method: 'get',
    params: params
  })
}

export function add(data) {
  return request({
    url: '/chengji/Kaoshi_kaosheng/add',
    method: 'post',
    data
  })
}

export function edit(data) {
  return request({
    url: '/chengji/Kaoshi_kaosheng/edit',
    method: 'post',
    data
  })
}

export function del(data) {
  return request({
    url: '/chengji/Kaoshi_kaosheng/del',
    method: 'post',
    data
  })
}

export function multiDelete(data) {
  return request({
    url: '/chengji/Kaoshi_kaosheng/multiDelete',
    method: 'post',
    data
  })
}

export function outExcel(data) {
  return request({
    url: '/chengji/Kaoshi_kaosheng/outExcel',
    method: 'post',
    responseType: 'blob',
    data
  })
}
